package cn.fj.hrm.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

//封装总条数和当前页数据
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
//总条数
    private Long total=0L;
    private List<T> rows =new ArrayList<>();
}
